

.m-header {
  .m-header-searchbar {
    height: 157px;
    padding: 20px 20px;
    background: #fff;
    align-items: start;
    box-sizing: border-box;

    .left {
      width: 280px;
      padding-top: 0px;

      @-webkit-keyframes rotation {

        from {
          -webkit-transform: rotate(0deg) translateZ(0);
        }

        to {
          -webkit-transform: rotate(360deg) translateZ(0);
        }

      }

      img {
        width: 70px;
        height: 70px;
        -webkit-transform: rotate(360deg) translateZ(0);

        animation: rotation 5s linear infinite;

        -moz-animation: rotation 5s linear infinite;

        -webkit-animation: rotation 5s linear infinite;

        -o-animation: rotation 5s linear infinite;
        cursor: pointer;
      }

      .left-title {
        font-size: 25px;
        color: #13d1be;
        padding-bottom: 20px;

      }
    }

    .center {
      flex: 1;
      width: auto;

      .wrapper {
        margin-top: 16px;
        border: 1px solid #13D1BE;
        border-radius: 4px;
        width: 552px;
        box-sizing: border-box;
        position: relative;
        white-space: nowrap;

        .el-input {
          width: 462px;
        }

        input {
          border: none;
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
        }

        .el-button {
          width: 88px;
          border: none;
          background: #13D1BE;
          font-size: 16px;
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
          vertical-align: -1px;

          i {
            font-weight: bold;
          }
        }

        .hotPlace,
        .searchList {
          position: absolute;
          top: 41px;
          left: 0;
          background: #fff;
          padding: 10px;
          font-size: 12px;
          width: 462px;
          box-sizing: border-box;
          border: 1px solid #E5E5E5;
          border-top: none;
          z-index: 999;
          box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .1);
          border-bottom-left-radius: 4px;
          border-bottom-right-radius: 4px;

          dt {
            color: #999;
            font-weight: bold;
          }

          dd {
            display: inline-block;
            color: #666;
            margin-right: 10px;
            margin-bottom: 3px;
            margin-top: 5px;
            cursor: pointer;

            &:hover {
              background: #F8F8F8;
              color: #31BBAC;
            }
          }

          &.searchList {
            padding: 0;
            margin: 0;

            dd {
              margin: 0;
              padding: 3px 10px;
              display: block;
              line-height: 1.6;
            }
          }
        }
      }

      .suggest {
        width: 552px;
        overflow: hidden;
        padding-left: 16px;
        line-height: 1;
        margin-top: 8px;
        height: 14px;

        a {
          color: #999;
          margin-right: 10px;
          margin-bottom: 3px;
          display: inline-block;
          font-size: 12px;

          &:hover {
            color: #31BBAC;
          }
        }
      }

      .nav {
        list-style: none;
        display: flex;
        margin-top: 25px;

        li {
          font-weight: 700;
          font-size: 16px;
          margin: 0 20px;
          cursor: pointer;
          position: relative;

          a {
            color: #222;

            &:hover {
              color: #f04d4e;
            }

            &.takeout:hover {
              color: #fbc700;
            }

            &.apartment:hover {
              color: #FDC411;
            }

            &.business:hover {
              color: #31BBAC;
            }
          }
        }
      }
    }

    .right {
      text-align: right;
      padding-top: 15px;

      .security {
        li {
          display: inline-block;
          text-align: center;
          padding: 0 5px;
        }

        i {
          font-style: normal;

          &:after {
            font-family: iconfont;
            font-size: 36px;
            color: #13D1BE;
          }
        }

        .refund {
          &:after {
            content: '\e65f';
          }
        }

        .single {
          &:after {
            content: '\e652';
          }
        }

        .overdue {
          &:after {
            content: '\e65e';
          }
        }

        .txt {
          color: #999;
          font-size: 12px;
          line-height: 1;
          margin: 0;
          text-align: center;
        }
      }
    }
  }
}
